package com.hs.hlw.credit.system.business.dto;

import com.hs.hlw.credit.system.common.util.JsonUtil;
import lombok.Data;

@Data
public class ErrMsgDto {
    private String field;
    private String msg;

    public ErrMsgDto (String field, String msg) {
        this.field = field;
        this.msg = msg;
    }

    public String toString() {
        return JsonUtil.toJson(this);
    }
}